home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 117
/
FreelogNo117-OctobreNovembre2013.iso
/
Programmation
/
jedit
/
jedit5.1.0install.exe
/
{app}
/
modes
/
jhtml.xml
< prev
next >
Wrap
Extensible Markup Language
|
2013-07-28
|
3KB
|
145 lines
<?xml version="1.0"?>
<!DOCTYPE MODE SYSTEM "xmode.dtd">
<!--
JHTML mode by Will Sargent <wsargent@atg.com>
-->
<MODE>
<PROPS>
<PROPERTY NAME="commentStart" VALUE="<!--" />
<PROPERTY NAME="commentEnd" VALUE="-->" />
<!-- Indent droplets and oparams -->
<PROPERTY NAME="indentNextLines"
VALUE="\s*(<\s*(droplet|oparam))\s+.*" />
<!-- Sadly, there doesn't seem to be a way to
undent when we see a /oparam> tag... -->
</PROPS>
<RULES IGNORE_CASE="TRUE">
<!-- Allow for Dynamo SSI -->
<SPAN TYPE="NULL">
<BEGIN><!--#</BEGIN>
<END>--></END>
</SPAN>
<!-- SGML comment -->
<SPAN TYPE="COMMENT1">
<BEGIN><!--</BEGIN>
<END>--></END>
</SPAN>
<!-- markup tags -->
<SPAN TYPE="MARKUP" DELEGATE="java::MAIN">
<BEGIN>`</BEGIN>
<END>`</END>
</SPAN>
<!-- Embedded Java -->
<SPAN TYPE="MARKUP" DELEGATE="java::MAIN">
<BEGIN><java></BEGIN>
<END></java></END>
</SPAN>
<!-- Don't know how to do this correctly.
<SPAN TYPE="MARKUP" DELEGATE="java::MAIN">
<BEGIN><java type=</BEGIN>
<END></java></END>
</SPAN>
-->
<!-- JavaScript -->
<SPAN TYPE="MARKUP" DELEGATE="html::JAVASCRIPT">
<BEGIN><SCRIPT</BEGIN>
<END></SCRIPT></END>
</SPAN>
<!-- stylesheet -->
<SPAN TYPE="MARKUP" DELEGATE="html::CSS">
<BEGIN><STYLE</BEGIN>
<END></STYLE></END>
</SPAN>
<!-- DTD instructions -->
<SPAN TYPE="KEYWORD2" DELEGATE="xml::DTD-TAGS">
<BEGIN><!</BEGIN>
<END>></END>
</SPAN>
<!-- All markup defaults to JHTML. -->
<SPAN TYPE="MARKUP" DELEGATE="JHTML">
<BEGIN><</BEGIN>
<END>></END>
</SPAN>
<!-- SGML entities -->
<SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
<BEGIN>&</BEGIN>
<END>;</END>
</SPAN>
</RULES>
<RULES SET="JHTML" DEFAULT="MARKUP">
<!-- SGML comment -->
<SPAN TYPE="COMMENT1">
<BEGIN><!--</BEGIN>
<END>--></END>
</SPAN>
<SPAN TYPE="LITERAL1" DELEGATE="ATTRVALUE">
<BEGIN>"</BEGIN>
<END>"</END>
</SPAN>
<SPAN TYPE="LITERAL1" DELEGATE="ATTRVALUE">
<BEGIN>'</BEGIN>
<END>'</END>
</SPAN>
<SEQ TYPE="MARKUP">/</SEQ>
<KEYWORDS>
<KEYWORD1>importbean</KEYWORD1>
<KEYWORD1>droplet</KEYWORD1>
<KEYWORD1>param</KEYWORD1>
<KEYWORD1>oparam</KEYWORD1>
<KEYWORD1>valueof</KEYWORD1>
<KEYWORD1>setvalue</KEYWORD1>
<KEYWORD1>servlet</KEYWORD1>
<KEYWORD2>bean</KEYWORD2>
<KEYWORD2>submitvalue</KEYWORD2>
<KEYWORD2>declareparam</KEYWORD2>
<KEYWORD2>synchronized</KEYWORD2>
<KEYWORD2>priority</KEYWORD2>
<!-- standard converters -->
<KEYWORD2>converter</KEYWORD2>
<KEYWORD2>date</KEYWORD2>
<KEYWORD2>number</KEYWORD2>
<KEYWORD2>required</KEYWORD2>
<KEYWORD2>nullable</KEYWORD2>
<KEYWORD2>currency</KEYWORD2>
<KEYWORD2>currencyConversion</KEYWORD2>
<KEYWORD2>euro</KEYWORD2>
<KEYWORD2>locale</KEYWORD2>
<KEYWORD2>symbol</KEYWORD2>
<!-- Can't use this because of image src... -->
<!-- <KEYWORD2>src</KEYWORD2> -->
</KEYWORDS>
</RULES>
<RULES SET="ATTRVALUE" DEFAULT="LITERAL1" HIGHLIGHT_DIGITS="TRUE">
<!-- backticks are java -->
<SPAN TYPE="MARKUP" DELEGATE="java::MAIN">
<BEGIN>`</BEGIN>
<END>`</END>
</SPAN>
<!-- Allow param: and bean: properties to be marked up -->
<SEQ TYPE="LABEL">param:</SEQ>
<SEQ TYPE="LABEL">bean:</SEQ>
</RULES>
</MODE>